Improve AIX port.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 Feb 2013 20:32:54 +0000 (12:32 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 Feb 2013 20:32:54 +0000 (12:32 -0800)
commite6d3bf5a7601f9885009efa15f42bb423555564a
tree3a04cedafe9fd240c0c988d4fc2aa22b71c0c6c0
parente020a1ecf5cbc8a83ada7e0c5c6a58ec23642a5d
Improve AIX port.

This doesn't fix the bug, but it makes progress: Emacs builds now.
* unexaix.c: Include inttypes.h, stdarg.h.
(report_error, report_error_1): Mark as _Noreturn.
(report_error): Don't report the wrong errno.
(report_error_1): Now varargs.  All callers changed.
(make_hdr): Use uintptr_t, not unsigned, when converting pointers
to unsigned.  Don't use ADDR_CORRECT, as it no longer exists.
(write_ptr): Use %p to print address rather than %lx and a cast
to unsigned long.  Grow buffer a bit, to be safer.
src/ChangeLog
src/unexaix.c